package com.kclm.xsap.dao;

import com.kclm.xsap.entity.EmployeeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface EmployeeDao extends BaseMapper<EmployeeEntity> {

    
    @Select("select `name`, `is_deleted` from xsap_dev7.t_employee where `id` = #{teacherId}")
    EmployeeEntity selectTeacherNameById(@Param("teacherId") Long teacherId);

    
    List<EmployeeEntity> selectTeacherNameListByIds(@Param("teacherIdList") List<Long> teacherIdList);
}
